package com.whjfxx.terminal.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whjfxx.terminal.biz.vo.MenuInfoVo;
import com.whjfxx.terminal.entity.Resource;
import com.whjfxx.terminal.entity.User;

import java.util.List;

public interface ResourceService extends IService<Resource> {

    /**
     * 获取用户所属的菜单信息
     * @param user
     * @return
     */
    MenuInfoVo getMenuInfoVo(User user);

    /**
     * 查询所有 资源菜单
     * @return
     */
    List<Resource> getAll();
}
